class EquipmentListController {
    constructor($rootScope, $scope, $cookieStore, $timeout, $state, ngDialog, dialogService, CpService, getCpList, iRunner){

    	var vm = this;

    	vm.$rootScope    = $rootScope;
    	vm.$cookieStore  = $cookieStore;
    	vm.$timeout 	 = $timeout;
    	vm.$state   	 = $state;
    	vm.ngDialog 	 = ngDialog;
    	vm.dialogService = dialogService;
    	vm.CpService     = CpService;
    	vm.getCpList     = getCpList;
    	vm.iRunner 	     = iRunner;


        //设备列表
        vm.equipmentList = [
            {
                equipmentName: "设备1",
                cpName: "CP名称1",
                cpId: "1"
            },
            {
                equipmentName: "设备2",
                cpName: "CP名称2",
                cpId: "2"
            }
        ];
    }
}

EquipmentListController.$inject = ['$rootScope', '$scope', '$cookieStore', '$timeout', '$state', 'ngDialog', 'dialogService', 'CpService', 'getCpList', 'iRunner']; 

export default EquipmentListController;